package com.addplus.townmall.server.api.model.town;

import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品规则参数模板表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-09-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("shop_attributes_template")
public class ShopAttributesTemplate extends BaseRestModel {

    private static final long serialVersionUID = -1563351354116376479L;
    /**
     * 商品类目主键id
     */
    @TableField("platform_category_id")
    private Integer platformCategoryId;
    /**
     * 规则参数(json格式)
     */
    @TableField("param_data")
    private String paramData;
    /**
     * 是否默认(0:否 1:是)
     */
    @TableField("is_default")
    private Integer isDefault;
    /**
     * 创建店铺id(0则代表是系统创建)
     */
    @TableField("store_id")
    private Integer storeId;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_deleted")
    private Integer isDeleted;
}
